package Bottle;

import static org.junit.Assert.assertTrue;

import org.junit.Before;
import org.junit.Test;

public class BottleTest1 {
	
	@Before
	public void setUp() throws Exception {
	}
	
	@Test
	public void madeCorrectly() {
		Bottle waterBottle = new Bottle("Aquafina", 100);
		
		int total = waterBottle.getCurrentAmountOfWater();
		assertTrue(total == 100);
		
		
	}
	@Test
	public void volumeAdjusting(){
		
		
		Bottle waterBottle = new Bottle("Aquafina", 100);
		
		waterBottle.addWater(300);
		
		int total = waterBottle.getCurrentAmountOfWater();
		assertTrue(total == 400);
	}
}
